package attr

import (
	"kumachan/interpreter/lang/common/name"
	"kumachan/interpreter/lang/common/source"
)


type Attrs struct {
	Location  source.Location
	Doc       string
}
type TypeAttrs struct {
	Attrs
	Metadata       TypeMetadata
	DataConfig     TypeDataConfig
	ServiceConfig  TypeServiceConfig
}
type FieldAttrs struct {
	Attrs
	Metadata  FieldMetadata
	Default   name.FunctionName
}
type FunctionAttrs struct {
	Attrs
	Metadata  FunctionMetadata
}

type TypeDataConfig struct {
	Name  string
}
type TypeServiceConfig struct {
	Name  string
}

type TypeMetadata struct {
	// TODO
}

type FieldMetadata struct {
	// TODO
}

type FunctionMetadata struct {
	// TODO
}


